// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_pr.p_activity;

import android.view.View;
import android.view.animation.*;
import android.widget.TextView;
import com.nnee.p_fk.cls_k;

// Referenced classes of package com.nnee.p_pr.p_activity:
//            MainGridActivity, bw

final class cls_av
    implements Runnable
{

    public cls_av(cls_MainGridActivity parammaingridactivity, boolean flag)
    {
    	super();
        a = parammaingridactivity;
        
        b = flag;
    }

    public void a(boolean flag)
    {
        b = flag;
    }

    public void run()
    {
        Object obj;
        if(b)
        {
            if(cls_MainGridActivity.s(a) == null)
                cls_MainGridActivity.C(a);
            cls_MainGridActivity.D(a);
            obj = cls_MainGridActivity.s(a);
            cls_MainGridActivity.E(a).setBackgroundDrawable(cls_k.a(a).b(0x7f020034));
        } else
        {
            cls_MainGridActivity.F(a);
            cls_MainGridActivity.G(a);
            obj = cls_MainGridActivity.H(a);
            cls_MainGridActivity.E(a).setBackgroundDrawable(cls_k.a(a).b(0x7f020036));
            cls_MainGridActivity.b(a, true);
        }
        if(cls_MainGridActivity.I(a) == null)
        {
            cls_MainGridActivity.a(a, AnimationUtils.loadAnimation(a, 0x7f04000b));
            cls_MainGridActivity.I(a).setDuration(500L);
            cls_MainGridActivity.I(a).setFillAfter(true);
            cls_MainGridActivity.I(a).setInterpolator(new DecelerateInterpolator());
            cls_MainGridActivity.I(a).setAnimationListener(new cls_bw(this));
        }
        ((View) (obj)).startAnimation(cls_MainGridActivity.I(a));
    }

    final cls_MainGridActivity a;
    private boolean b;
}
